import request from '@/utils/request'

// 门店列表
export function storeLists(params?: Record<string, any>) {
    return request.get({ url: '/store/list', params })
}

// 门店详情
export function storeDetail(params: Record<string, any>) {
    return request.get({ url: '/store/detail', params })
}

// 门店新增
export function storeAdd(params: Record<string, any>) {
    return request.post({ url: '/store/add', params })
}

// 门店编辑
export function storeEdit(params: Record<string, any>) {
    return request.post({ url: '/store/edit', params })
}

// 门店删除
export function storeDelete(params: Record<string, any>) {
    return request.post({ url: '/store/del', params })
}

// 门店状态修改
export function apiStoreStatus(params: Record<string, any>) {
    return request.post({ url: '/store/status', params })
}